#ifndef ADCDEVICE_H
#define	ADCDEVICE_H

#include "mytype.h"
#include "stdint.h"
#include "MKE06Z4.h"
#include "system_MKE06Z4.h"
#include "adc.h"

#ifdef	__cplusplus
extern "C" {
#endif	
	
#ifdef   _ADC_MODULE_
#define  ADC_EXT
#else
#define  ADC_EXT  extern
#endif


#define ADC_CHANNEL_AMOUNT          8

#define ADC_RESULT_NUM_0            0
#define ADC_RESULT_NUM_1            1              
#define ADC_RESULT_NUM_2            2              
#define ADC_RESULT_NUM_3            3              
#define ADC_RESULT_NUM_4            4              
#define ADC_RESULT_NUM_5            5   
#define ADC_RESULT_TEMP             6          
#define ADC_RESULT_BAND_GAP         7

	ADC_EXT uint16_t ADCResult[ADC_CHANNEL_AMOUNT];

	void AdcInit(void);

	













#undef ADC_EXT

#ifdef	__cplusplus
}
#endif

#endif	/* ADCDEVICE_H */
